home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / misc / FileConv.lha / FileConv / Install < prev    next >
Text File  |  1997-07-05  |  2KB  |  66 lines

  1. ;Installer script for FileConv 2
  2. ;Version 1.50
  3. ;(C) 1997 Adrian O' Neill
  4. ;See FileConv.guide for more information
  5.  
  6.  
  7.   (copylib
  8.     (prompt "Install will copy reqtools.library to Libs:")
  9.     (source "reqtools.library")
  10.     (dest "libs:")
  11.     (confirm)
  12.     (help @copylib-help)
  13.   )
  14.  
  15.   (complete 20)
  16.  
  17.   (set destdir
  18.     (askdir
  19.       (prompt "Please select a directory/partition in which to install FileConv. If an existing version of FileConv is already installed on your system, choose the directory in which it is installed.")
  20.       (help @askdir-help)
  21.       (default @default-dest)
  22.     )
  23.   )
  24.  
  25.   (set newdir (tackon destdir "FileConv"))
  26.  
  27.   (if (exists (newdir))
  28.         (set @default-dest destdir)
  29.         (
  30.           (if (makedir newdir
  31.               (prompt ("Install will create the directory %s to place FileConv and it's files in" newdir))
  32.               (infos)
  33.               (confirm)
  34.               (help @makedir-help)
  35.             )
  36.           (set @default-dest newdir)
  37.           (set @default-dest destdir)
  38.         )
  39.      )
  40.   )
  41.  
  42.   (complete 30)
  43.  
  44.   (copyfiles
  45.     (prompt "Select which files you want to install:")
  46.     (source "")
  47.     (choices "FileConv" "FileConv.guide" "Readme" "Register" "GobbleDir" "UnGobble" "Uninstall")
  48.     (dest @default-dest)
  49.     (infos)
  50.     (confirm)
  51.     (help @copyfiles-help)
  52.   )
  53.  
  54.   (complete 80)
  55.  
  56.   (startup "FileConv"
  57.     (prompt "A path statement should be added to your startup-sequence if you intend to use FileConv from the CLI.")
  58.     (command ("c:path %s add" @default-dest))
  59.     (help @startup-help)
  60.   )
  61.  
  62.   (complete 100)
  63.  
  64. ; $VER: Install v1.50 (04.07.97)
  65.  
  66.